<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <div th:fragment="bootstrapName">
        <link th:href="@{css/bootstrap.min.css}" rel="stylesheet">

        <script th:src="@{js/jquery.min.js}"></script>
        <!--这里不用加/static,默认在里面找，加了反而报错-->
        <script th:src="@{js/bootstrap.min.js}"></script>
    </div>
</head>
<body>

</body>
</html>